Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] Test network launch #15

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Conversation

Reecepbcups
Copy link
Collaborator

@Reecepbcups Reecepbcups commented Mar 4, 2024

ref: #1

A private testnet with similar mainnet params, just using different wallets so we can control it and ensure everything functions properly.

Can be merged in later

Chandra x pbcups multisig:

# - address: manifest1nzpct7tq52rckgnvr55e2m0kmyr0asdrgayq9p
#   name: obvious-1-multisig
#   pubkey: '{"@type":"/cosmos.crypto.multisig.LegacyAminoPubKey","threshold":1,"public_keys":[{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A9hZjm7++QBixsH4QTQadXPrnhVBDk+MPLE74U0/GoJp"},{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A57Cxv5vgwE6pAJ9oYtnOdU4ehKixMj6gufF8jBRq4IC"}]}'
#   type: **multi

TODO

  • On start: POA_ADMIN_ADDRESS=manifest1nzpct7tq52rckgnvr55e2m0kmyr0asdrgayq9p manifestd start
  • Update the manifest-1 network instructions? (or copy over obvious-1 and change chain-id)
  • Copy docs over to main but NOT dependency changes. main uses latest, testnet does not atm (due to new security patches out)

* `manifestd keys add [key_name]`
* `manifestd keys add [key_name] --recover` to regenerate keys with your BIP39 mnemonic to add ledger key
* `manifestd keys add [key_name] --ledger` to add a ledger key

Copy link
Collaborator Author

@Reecepbcups Reecepbcups Mar 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO:

  • setting config values (chain id, app toml gas prices)
  • note to save priv val key

@Reecepbcups
Copy link
Collaborator Author

Example showcase of a multisig Tx working

## Perform a multisig Tx for updating params

manifestd tx manifest update-params manifest1aucdev30u9505dx9t6q5fkcm70sjg4rh7rn5nf:100_000_000 true 6000000000000umfx --from=obvious-1-multisig --chain-id obvious-1 --generate-only > tx.json

manifestd tx sign tx.json --from=reece-testnet --chain-id=obvious-1 --multisig=obvious-1-multisig >> reece.json

# Combine signatures into single tx (1/2 multisig for testing)
manifestd tx multisign --from obvious-1-multisig tx.json obvious-1-multisig reece.json --chain-id obvious-1 > tx_ms.json

manifestd tx broadcast tx_ms.json --chain-id obvious-1

manifestd q tx C4B509A8539EF683E66E08A7F260E1F8C980B315C5F156EFFE126FD884F2BA29

manifestd q bank balances manifest1aucdev30u9505dx9t6q5fkcm70sjg4rh7rn5nf

@Reecepbcups Reecepbcups mentioned this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants